package com.wisnews.service.sr;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wisnews.pojo.sr.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yuyd
 * @since 2021-01-15
 */
public interface ICommentService extends IService<Comment> {

   Boolean saveComment(String newsId,String context);

    IPage<Comment> getComment4NewsId(String newsId,IPage iPage);

    IPage<Comment> queryCommentList(Comment req, IPage<Object> iPage);
}
